package com.sxz.sbs.module.client.bean;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

/**
 * Created by tian on 2018/1/23 0023.
 */

public class SelectStallBean {

    /**
     * lastPage : false
     * pageSize : 1
     * pageNumber : 1
     * firstPage : true
     * list : [{"PriceMax":85000,"id":56606,"Status":0,"SpaceType":12,"tempcolumn":0,"Number":"iajusfhiae ","Price":85000,"PhotoUrl":"http://91tcw.cn/upload/201710/24/201710241536599228.jpg","PriceUnit":"元","Title":"出售 领城公园1857 13平米","temprownumber":1}]
     * totalRow : 1024
     * totalPage : 1024
     */

    private boolean lastPage;
    private int pageSize;
    private int pageNumber;
    private boolean firstPage;
    private int totalRow;
    private int totalPage;
    private List<ListBean> list;

    public boolean isLastPage() {
        return lastPage;
    }

    public void setLastPage(boolean lastPage) {
        this.lastPage = lastPage;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getPageNumber() {
        return pageNumber;
    }

    public void setPageNumber(int pageNumber) {
        this.pageNumber = pageNumber;
    }

    public boolean isFirstPage() {
        return firstPage;
    }

    public void setFirstPage(boolean firstPage) {
        this.firstPage = firstPage;
    }

    public int getTotalRow() {
        return totalRow;
    }

    public void setTotalRow(int totalRow) {
        this.totalRow = totalRow;
    }

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean implements Parcelable {
        /**
         * PriceMax : 85000
         * id : 56606
         * Status : 0
         * SpaceType : 12
         * tempcolumn : 0
         * Number : iajusfhiae
         * Price : 85000
         * PhotoUrl : http://91tcw.cn/upload/201710/24/201710241536599228.jpg
         * PriceUnit : 元
         * Title : 出售 领城公园1857 13平米
         * temprownumber : 1
         */

        private int PriceMax;
        private int Id;
        private int Status;
        private int SpaceType;
        private int tempcolumn;
        private String Number;
        private int Price;
        private String PhotoUrl;
        private String PriceUnit;
        private String Title;
        private String spaceTypeName;
        private Double Size;
        private String priceAll;

        public String getPriceAll() {
            return priceAll;
        }

        public String getSpaceTypeName() {
            return spaceTypeName;
        }

        public Double getSize() {
            return Size;
        }

        private int temprownumber;

        public int getPriceMax() {
            return PriceMax;
        }

        public void setPriceMax(int PriceMax) {
            this.PriceMax = PriceMax;
        }

        public int getId() {
            return Id;
        }

        public void setId(int id) {
            this.Id = id;
        }

        public int getStatus() {
            return Status;
        }

        public void setStatus(int Status) {
            this.Status = Status;
        }

        public int getSpaceType() {
            return SpaceType;
        }

        public void setSpaceType(int SpaceType) {
            this.SpaceType = SpaceType;
        }

        public int getTempcolumn() {
            return tempcolumn;
        }

        public void setTempcolumn(int tempcolumn) {
            this.tempcolumn = tempcolumn;
        }

        public String getNumber() {
            return Number;
        }

        public void setNumber(String Number) {
            this.Number = Number;
        }

        public int getPrice() {
            return Price;
        }

        public void setPrice(int Price) {
            this.Price = Price;
        }

        public String getPhotoUrl() {
            return PhotoUrl;
        }

        public void setPhotoUrl(String PhotoUrl) {
            this.PhotoUrl = PhotoUrl;
        }

        public String getPriceUnit() {
            return PriceUnit;
        }

        public void setPriceUnit(String PriceUnit) {
            this.PriceUnit = PriceUnit;
        }

        public String getTitle() {
            return Title;
        }

        public void setTitle(String Title) {
            this.Title = Title;
        }

        public int getTemprownumber() {
            return temprownumber;
        }

        public void setTemprownumber(int temprownumber) {
            this.temprownumber = temprownumber;
        }

        public ListBean() {
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeInt(this.PriceMax);
            dest.writeInt(this.Id);
            dest.writeInt(this.Status);
            dest.writeInt(this.SpaceType);
            dest.writeInt(this.tempcolumn);
            dest.writeString(this.Number);
            dest.writeInt(this.Price);
            dest.writeString(this.PhotoUrl);
            dest.writeString(this.PriceUnit);
            dest.writeString(this.Title);
            dest.writeString(this.spaceTypeName);
            dest.writeValue(this.Size);
            dest.writeString(this.priceAll);
            dest.writeInt(this.temprownumber);
        }

        protected ListBean(Parcel in) {
            this.PriceMax = in.readInt();
            this.Id = in.readInt();
            this.Status = in.readInt();
            this.SpaceType = in.readInt();
            this.tempcolumn = in.readInt();
            this.Number = in.readString();
            this.Price = in.readInt();
            this.PhotoUrl = in.readString();
            this.PriceUnit = in.readString();
            this.Title = in.readString();
            this.spaceTypeName = in.readString();
            this.Size = (Double) in.readValue(Double.class.getClassLoader());
            this.priceAll = in.readString();
            this.temprownumber = in.readInt();
        }

        public static final Creator<ListBean> CREATOR = new Creator<ListBean>() {
            @Override
            public ListBean createFromParcel(Parcel source) {
                return new ListBean(source);
            }

            @Override
            public ListBean[] newArray(int size) {
                return new ListBean[size];
            }
        };
    }
}
